/*
  Mong from Kong - Victoria Road: Kerning City (103000000)
  By buya
*/

void npc(Player @player, NPC @npc) {
   int state = npc.getState();
   if(state == 0){ 
      npc.addText("Aren't you connected through the Internet Cafe? If so, then go in here ... you'll probably head to a familiar place. What do you think? Do you want to go in?");
      npc.sendYesNo();
}
  else if(state == 1) {
    if(npc.getSelected() == YES){
        npc.addText("Hey, hey ... I don't think you're logging on from the internet cafe. You can't enter this place if you are logging on from home ...");
	npc.sendNext();     
    }
    else {
        npc.addText("You must be busy, huh? But if you're loggin on from the internet cafe, then you should try going in. You may end up in a strange place once inside.");
        npc.sendNext();
      }
npc.end();
   }
}